/**
 * @author		Sergey Suzdalskiy
 * @e-mail:		sergey.suzdalskiy@gmail.com
 */
package  ua.kiev.gcore.storage{
import flash.utils.Dictionary;

public class ShaderStorage
	{
		// TODO add Shader
		//Shader parameters: src = image, mask = image, color = float4
		//Shader name: COLORIZE
		
		public static var OCCLUSION:String = "occlusion";
		public static var COMBINE:String = "combine";
		public static var COMBINEMASKS:String = "combinemasks";
		public static var COLORIZE:String = "colorize";
		
		private static var items:Dictionary = new Dictionary();
		
		public static function addItem(item:ShaderItem):void{
			items[item.id] = item;
		}
		
		public static function getItem(id:String):ShaderItem{
			return items[id];
		}		
		
		public static function getAll():Dictionary{
			return items;
		}
		
	}
}